{include file="header.tpl"}

   <h1>Step 1 - Create a user</h1>
   
   <div id="content">
      
      <form id="frm_install" action="./index.php?step=user" method="post">
         
         <fieldset class="panel">
            
   			<div>
   				<label for="user_name">User Name:</label>
        			<input id="user_name" name="user_name" type="text" value="{$user.user_name}" />
        			{if $user.errors.user_name}<p class="error">{$user.errors.user_name}</p>{/if}
        			<p class="rules">Must be at least 3 characters. Only A-Z, 0-9 and underscores are allowed.</p>
   	 		</div>
   			
   			<div>
   				<label for="display_name">Display Name:</label>
        			<input id="display_name" name="display_name" type="text" value="{$user.display_name}" />
        			{if $user.errors.display_name}<p class="error">{$user.errors.display_name}</p>{/if}
   	 		</div>
   			
   			<div>
   				<label for="email">Email:</label>
        			<input id="email" name="email" type="text" value="{$user.email}" />
        			{if $user.errors.email}<p class="error">{$user.errors.email}</p>{/if}
   	 		</div>
   			
   			<div>
   				<label for="new_password">Password:</label>
        			<input id="new_password" name="new_password" type="password" value="" />
        			{if $user.errors.password}<p class="error">{$user.errors.password}</p>{/if}
        			<p class="rules">Minimum 5 characters.</p>
   	 		</div>
   			
   			<div>
   				<label for="confirm_pw">Confirm Password:</label>
        			<input id="confirm_pw" name="confirm_pw" type="password" value="" />
        			{if $user.errors.confirm_pw}<p class="error">{$user.errors.confirm_pw}</p>{/if}
   	 		</div>
   			
         </fieldset>
         
   		<div class="button_bar">
   			<button type="submit" name="submit_frm_install" value="1">Continue</button>or <a href="./index.php?step=welcome">Back</a>
   		</div>
         
      </form>
      
   </div>

{include file="footer.tpl"}
